package com.jh.jingfei.models;

import com.strongloop.android.loopback.Model;

/**
 * @author lxb
 * 机组
 * Created by lion on 2017/12/7.
 */

public class RobotGroup extends Model{

    /**
     * name : 组1
     * remark : 机组分组
     * created : 2017-05-16T02:54:19.000Z
     * lastUpdated : 2017-12-05T01:33:57.000Z
     * id : 1
     * pid : 1
     */

    private String name;
    private String remark;
    private String created;
    private String lastUpdated;
    private int rid;
    private int pid;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getLastUpdated() {
        return lastUpdated;
    }

    public void setLastUpdated(String lastUpdated) {
        this.lastUpdated = lastUpdated;
    }

    public int getRId() {
        return rid;
    }

    public void setRId(int id) {
        this.rid = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "RobotGroup{" +
                "name='" + name + '\'' +
                ", remark='" + remark + '\'' +
                ", created='" + created + '\'' +
                ", lastUpdated='" + lastUpdated + '\'' +
                ", id=" + getId() +
                ", rid=" + rid +
                ", pid=" + pid +
                "} " + super.toString();
    }
}
